package com.st.mall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.st.common.utils.PageUtils;
import com.st.mall.ware.entity.PurchaseEntity;
import vo.MergeVo;
import vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author fg
 * @email f@163.com
 * @date 2023-02-26 20:47:57
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 合并采购需求
     * @param mergeVo 接收的vo
     */
    void mergeByPurchaseId(MergeVo mergeVo);

    /**
     * 查询未领取的采购单
     *
     */
    PageUtils queryUnReceive(Map<String, Object> params);

    void received(List<Long> pId);
    void doneP(PurchaseDoneVo doneVo);
}

